# Gamemode_Stargate

Attempting to get the Stargate gamemode working again

**README from Hit's repository:**

In the summer of 2016, after hosting his Stargate server for a while, Xalos decided to openly release the Stargate add-on to the public. (you can find it in [here](http://leopard.hosting.pecon.us/download.php?f=wnkxv&name=Xalpack.zip)) 

Since then though, he has applied numerous bug fixes to his own copy of the add-on and has hosted his Stargate server throughout the years, but hasn't re-released it. I'm aiming to fix some prevalent bugs and also refactor some of the code and add new features that should help new players and make them less confused. Xalos was also going to make a Tutorial for the Stargate gamemode, but he hasn't made it, so I'll try to do that in the future as well.

**NOTE**: If you're hosting your own Stargate server from scratch, I strongly advise you to use a bigger seed than the one currently in the code (around line 1221ish in Stargate.cs). There's a bug where there are duplicate hidden system gates and the only way to fix it is to either make the RNG seed bigger than 671, or change the RNG methods found in Libraries/Port_Rand.cs (see branch RNG_fix for the fix). Or you could do both. But if you're hosting a Stargate server with builds on them and are using this exact seed, do not use the RNG_fix branch.
